#pragma once

class TreeNode
{
public:
	TreeNode(void) {};
	virtual ~TreeNode(void) {};

	virtual void addChild(int idx, TreeNode* n) = 0;
	virtual TreeNode* getChild(int idx) const = 0;
};